<?php /* Smarty version Smarty-3.0.7, created on 2011-05-23 01:12:08
         compiled from "/Users/denisvolkov/Sites/defaultprestashop/modules/blockviewed/blockviewed.tpl" */ ?>
<?php /*%%SmartyHeaderCode:17617441424dd96008ca66f7-23623525%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '295a5ae96f6f56d5356a6c1c3a1e192dfe8d6847' => 
    array (
      0 => '/Users/denisvolkov/Sites/defaultprestashop/modules/blockviewed/blockviewed.tpl',
      1 => 1304623353,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '17617441424dd96008ca66f7-23623525',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_escape')) include '/Users/denisvolkov/Sites/defaultprestashop/tools/smarty/plugins/modifier.escape.php';
?>


<div class="miniblock_top png_all">
    <div class="miniblock_bottom png_all">
        <div class="miniblock png_all">
            <div class="block_h3_angle png_all">
                <div class="block_h3_shadow png_all"></div>
                <div class="block_h3">
                    <h3>Просмотренные</h3>
                </div><!--block_h3-->
            </div><!--block_h3_angle-->
            <div class="miniinfo_top png_all">
                <div class="miniinfo_bottom png_all">
                    <div class="miniinfo png_all">
                        <ul class="product_mini">
                            <?php  $_smarty_tpl->tpl_vars['viewedProduct'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('productsViewedObj')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['viewedProduct']->total= $_smarty_tpl->_count($_from);
 $_smarty_tpl->tpl_vars['viewedProduct']->iteration=0;
 $_smarty_tpl->tpl_vars['viewedProduct']->index=-1;
if ($_smarty_tpl->tpl_vars['viewedProduct']->total > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['viewedProduct']->key => $_smarty_tpl->tpl_vars['viewedProduct']->value){
 $_smarty_tpl->tpl_vars['viewedProduct']->iteration++;
 $_smarty_tpl->tpl_vars['viewedProduct']->index++;
 $_smarty_tpl->tpl_vars['viewedProduct']->first = $_smarty_tpl->tpl_vars['viewedProduct']->index === 0;
 $_smarty_tpl->tpl_vars['viewedProduct']->last = $_smarty_tpl->tpl_vars['viewedProduct']->iteration === $_smarty_tpl->tpl_vars['viewedProduct']->total;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['myLoop']['first'] = $_smarty_tpl->tpl_vars['viewedProduct']->first;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['myLoop']['last'] = $_smarty_tpl->tpl_vars['viewedProduct']->last;
?>
                            <li> <a href="<?php echo $_smarty_tpl->getVariable('link')->value->getProductLink($_smarty_tpl->getVariable('viewedProduct')->value->id,$_smarty_tpl->getVariable('viewedProduct')->value->link_rewrite,$_smarty_tpl->getVariable('viewedProduct')->value->category_rewrite);?>
" title="<?php echo smartyTranslate(array('s'=>'More about','mod'=>'blockviewed'),$_smarty_tpl);?>
 <?php echo smarty_modifier_escape($_smarty_tpl->getVariable('viewedProduct')->value->name,'html','UTF-8');?>
"><img src="<?php echo $_smarty_tpl->getVariable('link')->value->getImageLink($_smarty_tpl->getVariable('viewedProduct')->value->link_rewrite,$_smarty_tpl->getVariable('viewedProduct')->value->cover,'medium');?>
" height="<?php echo $_smarty_tpl->getVariable('mediumSize')->value['height'];?>
" width="<?php echo $_smarty_tpl->getVariable('mediumSize')->value['width'];?>
" alt="<?php echo smarty_modifier_escape($_smarty_tpl->getVariable('viewedProduct')->value->legend,'html','UTF-8');?>
" /></a>

                                <div class="product_new">Новинка</div>
                                <h4><a href="<?php echo $_smarty_tpl->getVariable('link')->value->getProductLink($_smarty_tpl->getVariable('viewedProduct')->value->id,$_smarty_tpl->getVariable('viewedProduct')->value->link_rewrite,$_smarty_tpl->getVariable('viewedProduct')->value->category_rewrite);?>
" title="<?php echo smartyTranslate(array('s'=>'More about','mod'=>'blockviewed'),$_smarty_tpl);?>
 <?php echo smarty_modifier_escape($_smarty_tpl->getVariable('viewedProduct')->value->name,'html','UTF-8');?>
"><?php echo smarty_modifier_escape(smarty_modifier_truncate($_smarty_tpl->getVariable('viewedProduct')->value->name,14,'...'),'html','UTF-8');?>
</a></h4>
                                <div class="product_price"><?php echo Product::convertPrice(array('price'=>$_smarty_tpl->getVariable('viewedProduct')->value->price),$_smarty_tpl);?>
</div>
                            </li>                            <?php }} ?>
                        </ul>
                    </div><!--miniinfo-->
                </div><!--miniinfo_bottom-->
            </div><!--miniinfo_top-->
        </div><!--miniblock-->
    </div><!--miniblock_bottom-->
</div><!--miniblock_top-->
                    
                    
